//
//  ZyNetWorkTools.m
//  ZzzzyManProject
//
//  Created by mac on 16/3/2.
//  Copyright © 2016年 ZzzzyMan@. All rights reserved.
//

#import "ZyNetWorkTools.h"

@implementation ZyNetWorkTools

+ (instancetype)sharedTools {
    
    static ZyNetWorkTools * tools;
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        
        tools = [[ZyNetWorkTools alloc] init];
       
        tools.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript",@"text/html", nil];
    
    });
    
    return tools;
}

@end
